import request from '@/utils/request'

// 制程检验设置 查询
export function inspectionSettingsSel(params) {
  return request({
    url: '/back/disqualification-process-inspection-settings/sel',
    method: 'POST',
    params
  })
}

// 制程检验设置 新增
export function inspectionSettingsAdd(params) {
    return request({
      url: '/back/disqualification-process-inspection-settings/add',
      method: 'POST',
      params
    })
  }

  // 制程检验设置 修改
export function inspectionSettingsUpd(params) {
    return request({
      url: '/back/disqualification-process-inspection-settings/upd',
      method: 'POST',
      params
    })
  }

  // 制程检验设置 删除
export function inspectionSettingsDel(params) {
    return request({
      url: '/back/disqualification-process-inspection-settings/del',
      method: 'POST',
      params
    })
  }

    // 客户报检单 产品报检清单
export function findScanCustomerInspectionForm(params) {
    return request({
      url: '/device/findScanCustomerInspectionForm',
      method: 'POST',
      params
    })
  }

      // 客户报检单查询
export function inspectionFormFind(params) {
  return request({
    url: '/customer-inspection-form/find',
    method: 'POST',
    params
  })
}

      // 客户报检单  生成条码点确定
export function inspectionFormAdd(data) {
  return request({
    url: '/customer-inspection-form/add',
    method: 'POST',
    data
  })
}


    // 客户报检单 删除
export function inspectionFormDel(data) {
  return request({
    url: '/customer-inspection-form/del',
    method: 'POST',
    data
  })
}

    // 制程检验记录 增加
export function inspectionRecordIns(params) {
  return request({
    url: '/conline-inspection-record/ins',
    method: 'POST',
    params
  })
}

    // 制程检验记录 查询
export function inspectionRecordFind(params) {
  return request({
    url: '/online-inspection-record/find',
    method: 'POST',
    params
  })
}

    // 制程检验记录 修改
export function inspectionRecordUpd(params) {
  return request({
    url: '/conline-inspection-record/upd',
    method: 'POST',
    params
  })
}

    // 制程检验记录 删除
export function inspectionRecordDel(params) {
  return request({
    url: '/conline-inspection-record/del',
    method: 'POST',
    params
  })
}

   // 制程检验记录 查询
export function findOnlineInspectionInfo(params) {
  return request({
    url: '/online-inspection-record/findOnlineInspectionInfo',
    method: 'POST',
    params
  })
}